package com.ryan.security.core.validate.code;

import org.springframework.security.core.AuthenticationException;

/**
 * Created by kaimin on 2/1/2019.
 * time : 20:54
 */
//继承这个在认证时候抛的异常
public class ValidatorCodeException extends AuthenticationException {

    public ValidatorCodeException(String msg, Throwable t) {
        super(msg, t);
    }

    public ValidatorCodeException(String msg) {
        super(msg);
    }
}
